:root {
    --bg-dark: #12100e;
    --card-dark: #1a1614;
    --border-color: #2a2420;
    --accent-orange: #c86d44;
    --text-main: #f5f2eb;
    --text-muted: #a39c94;
    --bg-light-section: #fbf9f5;
    --text-dark: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: var(--accent-orange);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.logo-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after, .navbar nav ul li a.active::after {
    width: 100%;
}

.navbar nav ul li a:hover, .navbar nav ul li a.active {
    color: var(--text-main);
}



:root {
    --bg-color: #12100e;
    --primary-peach: #ffb5a7;
    --accent-coral: #c86d44;
    --text-dark: #4a403a;
    --purple-pastel: #b34c10;
    --pink-light: #fcfcfc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-text h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4.5rem;
    color: var(--accent-coral);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-text h1 span {
    color: var(--purple-pastel);
    display: block;
}

.hero-subtitle {
    display: inline-block;
    background: var(--pink-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 15px;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-bg {
    background-color: var(--pink-light);
    border-radius: 50% 40% 60% 40%;
    width: 380px;
    height: 380px;
    position: absolute;
    z-index: 1;
    opacity: 0.7;
}

.hero-image-wrapper img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 50% 40% 60% 40%;
    position: relative;
    z-index: 2;
    border: 4px solid var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Main Content Grid */
.main-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
}

/* Left Column Styles */
.card {
    background: var(--white);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(226, 125, 96, 0.08);
    border: 2px solid rgba(255, 181, 167, 0.3);
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--accent-coral);
    margin-bottom: 15px;
}

.about-me p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6d625d;
}

/* What I Do Icons */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.service-item {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-coral);
    border-radius: 50%;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(1, 0, 0);
    font-weight: bold;
}

.service-item span {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Skills Dots */
.skill-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.dots {
    display: flex;
    gap: 5px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-peach);
    border-radius: 50%;
}

.dot.active {
    background-color: var(--accent-coral);
}

/* Right Column (Selected Works) */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.work-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 181, 167, 0.3);
    box-shadow: 0 6px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(226, 125, 96, 0.15);
}

.work-img-container {
    background: #c86d44;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.work-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.work-info {
    padding: 15px 20px;
}

.work-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.work-info p {
    font-size: 0.85rem;
    color: #8c7f78;
}

/* Testimonials Section */
.testimonials-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid rgba(255, 181, 167, 0.3);
    position: relative;
    box-shadow: 0 6px 15px rgba(0,0,0,0.03);
}

.testimonial-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6d625d;
    margin-bottom: 20px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.client-info span {
    font-size: 0.75rem;
    color: #8c7f78;
}

/* Footer / Bottom Section */
.footer-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 25px;
}

.footer-box {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 181, 167, 0.3);
    box-shadow: 0 6px 15px rgba(0,0,0,0.03);
}

.footer-box.purple {
    background: var(--purple-pastel);
    color: var(--white);
    border: none;
}

.footer-box.purple h2 {
    color: var(--white);
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-box.purple p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: var(--primary-peach);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.1);
    background: var(--accent-coral);
}

/* Footer */
footer {
    background-color: var(--card-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 60px 8% 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ==========================================
   ANIMACIONES CSS
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-image-wrapper {
    animation: floatAnimation 4s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero, .main-grid, .testimonials-container, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}